import request from '@/utils/request'

export function listData() {
  return request({
    url: '/dataSystem/getData',
    method: 'get'
  })
}

export function listAppointByDays() {
  let query = {
    day: 14
  }
  return request({
    url: '/dataSystem/listAppointByDays',
    method: 'get',
    params: query
  })
}

export function listRouteByDays() {
  let query = {
    day: 14
  }
  return request({
    url: '/dataSystem/listRouteByDays',
    method: 'get',
    params: query
  })
}

export function listPlanByDays() {
  let query = {
    day: 14
  }
  return request({
    url: '/dataSystem/listPlanByDays',
    method: 'get',
    params: query
  })
}

export function listSecondDeptByUsers() {
  return request({
    url: '/dataSystem/listSecondDeptByUsers',
    method: 'get'
  })
}
